package com.xinsilu.hospital.service.impl;

import com.xinsilu.hospital.entity.Project;
import com.xinsilu.hospital.mapper.ProjectMapper;
import com.xinsilu.hospital.service.IProjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ym
 * @since 2021-12-15
 */
@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> implements IProjectService {

    @Autowired
    private ProjectMapper projectMapper;

    @Override
    public boolean tianjiaxm(Project project) {
        return projectMapper.tianjiaxm(project);
    }

    @Override
    public List<Project> ProjectList(Project project) {
        return projectMapper.projectList(project);
    }
}
